/**
 * @作者 libin
 * @创建时间 2021-02-11 19:46
 */
package com.yhl.missyou.model1;

import javax.persistence.*;
import java.util.List;

//去孤子
//@Entity
public class Theme {
    @Id
    private Long id;
    private String title;
    private String name;

//    @ManyToMany
//    @JoinTable(name = "theme_spu", joinColumns = @JoinColumn(name = "theme_id"),
//            inverseJoinColumns = @JoinColumn(name = "spu_id"))
    private List<Spu> spuList;
}
